home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _363150BAC5564642BBBCB9E87CEABC6D < prev    next >
Encoding:
Text File  |  2006-08-04  |  7.0 KB  |  205 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.01'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.26667,11.69), 
  37.         'TemplateCategory': r'Avery International', 
  38.         'TemplateDescription': 'Papel de calidad fotogrßfica con brillo de 3,5 x 4,5 en A4', 
  39.         'Template': [{
  40.             'CellPosition': (0.8575,0.8575), 
  41.             'CellSize': (1.245,1.635), 
  42.             'ImagePlacement': 2, 
  43.             'ImagePath': r'', 
  44.             'RotationAngle': 0, 
  45.             'ImagePosition': (0,0), 
  46.             'ImageSize': (0,0)
  47.             },{
  48.             'CellPosition': (0.8575,2.9475), 
  49.             'CellSize': (1.245,1.635), 
  50.             'ImagePlacement': 2, 
  51.             'ImagePath': r'', 
  52.             'RotationAngle': 0, 
  53.             'ImagePosition': (0,0), 
  54.             'ImageSize': (0,0)
  55.             },{
  56.             'CellPosition': (0.8575,5.0375), 
  57.             'CellSize': (1.245,1.635), 
  58.             'ImagePlacement': 2, 
  59.             'ImagePath': r'', 
  60.             'RotationAngle': 0, 
  61.             'ImagePosition': (0,0), 
  62.             'ImageSize': (0,0)
  63.             },{
  64.             'CellPosition': (0.8575,7.1275), 
  65.             'CellSize': (1.245,1.635), 
  66.             'ImagePlacement': 2, 
  67.             'ImagePath': r'', 
  68.             'RotationAngle': 0, 
  69.             'ImagePosition': (0,0), 
  70.             'ImageSize': (0,0)
  71.             },{
  72.             'CellPosition': (0.8575,9.2175), 
  73.             'CellSize': (1.245,1.635), 
  74.             'ImagePlacement': 2, 
  75.             'ImagePath': r'', 
  76.             'RotationAngle': 0, 
  77.             'ImagePosition': (0,0), 
  78.             'ImageSize': (0,0)
  79.             },{
  80.             'CellPosition': (2.6275,0.8575), 
  81.             'CellSize': (1.245,1.635), 
  82.             'ImagePlacement': 2, 
  83.             'ImagePath': r'', 
  84.             'RotationAngle': 0, 
  85.             'ImagePosition': (0,0), 
  86.             'ImageSize': (0,0)
  87.             },{
  88.             'CellPosition': (2.6275,2.9475), 
  89.             'CellSize': (1.245,1.635), 
  90.             'ImagePlacement': 2, 
  91.             'ImagePath': r'', 
  92.             'RotationAngle': 0, 
  93.             'ImagePosition': (0,0), 
  94.             'ImageSize': (0,0)
  95.             },{
  96.             'CellPosition': (2.6275,5.0375), 
  97.             'CellSize': (1.245,1.635), 
  98.             'ImagePlacement': 2, 
  99.             'ImagePath': r'', 
  100.             'RotationAngle': 0, 
  101.             'ImagePosition': (0,0), 
  102.             'ImageSize': (0,0)
  103.             },{
  104.             'CellPosition': (2.6275,7.1275), 
  105.             'CellSize': (1.245,1.635), 
  106.             'ImagePlacement': 2, 
  107.             'ImagePath': r'', 
  108.             'RotationAngle': 0, 
  109.             'ImagePosition': (0,0), 
  110.             'ImageSize': (0,0)
  111.             },{
  112.             'CellPosition': (2.6275,9.2175), 
  113.             'CellSize': (1.245,1.635), 
  114.             'ImagePlacement': 2, 
  115.             'ImagePath': r'', 
  116.             'RotationAngle': 0, 
  117.             'ImagePosition': (0,0), 
  118.             'ImageSize': (0,0)
  119.             },{
  120.             'CellPosition': (4.3975,0.8575), 
  121.             'CellSize': (1.245,1.635), 
  122.             'ImagePlacement': 2, 
  123.             'ImagePath': r'', 
  124.             'RotationAngle': 0, 
  125.             'ImagePosition': (0,0), 
  126.             'ImageSize': (0,0)
  127.             },{
  128.             'CellPosition': (4.3975,2.9475), 
  129.             'CellSize': (1.245,1.635), 
  130.             'ImagePlacement': 2, 
  131.             'ImagePath': r'', 
  132.             'RotationAngle': 0, 
  133.             'ImagePosition': (0,0), 
  134.             'ImageSize': (0,0)
  135.             },{
  136.             'CellPosition': (4.3975,5.0375), 
  137.             'CellSize': (1.245,1.635), 
  138.             'ImagePlacement': 2, 
  139.             'ImagePath': r'', 
  140.             'RotationAngle': 0, 
  141.             'ImagePosition': (0,0), 
  142.             'ImageSize': (0,0)
  143.             },{
  144.             'CellPosition': (4.3975,7.1275), 
  145.             'CellSize': (1.245,1.635), 
  146.             'ImagePlacement': 2, 
  147.             'ImagePath': r'', 
  148.             'RotationAngle': 0, 
  149.             'ImagePosition': (0,0), 
  150.             'ImageSize': (0,0)
  151.             },{
  152.             'CellPosition': (4.3975,9.2175), 
  153.             'CellSize': (1.245,1.635), 
  154.             'ImagePlacement': 2, 
  155.             'ImagePath': r'', 
  156.             'RotationAngle': 0, 
  157.             'ImagePosition': (0,0), 
  158.             'ImageSize': (0,0)
  159.             },{
  160.             'CellPosition': (6.1675,0.8575), 
  161.             'CellSize': (1.245,1.635), 
  162.             'ImagePlacement': 2, 
  163.             'ImagePath': r'', 
  164.             'RotationAngle': 0, 
  165.             'ImagePosition': (0,0), 
  166.             'ImageSize': (0,0)
  167.             },{
  168.             'CellPosition': (6.1675,2.9475), 
  169.             'CellSize': (1.245,1.635), 
  170.             'ImagePlacement': 2, 
  171.             'ImagePath': r'', 
  172.             'RotationAngle': 0, 
  173.             'ImagePosition': (0,0), 
  174.             'ImageSize': (0,0)
  175.             },{
  176.             'CellPosition': (6.1675,5.0375), 
  177.             'CellSize': (1.245,1.635), 
  178.             'ImagePlacement': 2, 
  179.             'ImagePath': r'', 
  180.             'RotationAngle': 0, 
  181.             'ImagePosition': (0,0), 
  182.             'ImageSize': (0,0)
  183.             },{
  184.             'CellPosition': (6.1675,7.1275), 
  185.             'CellSize': (1.245,1.635), 
  186.             'ImagePlacement': 2, 
  187.             'ImagePath': r'', 
  188.             'RotationAngle': 0, 
  189.             'ImagePosition': (0,0), 
  190.             'ImageSize': (0,0)
  191.             },{
  192.             'CellPosition': (6.1675,9.2175), 
  193.             'CellSize': (1.245,1.635), 
  194.             'ImagePlacement': 2, 
  195.             'ImagePath': r'', 
  196.             'RotationAngle': 0, 
  197.             'ImagePosition': (0,0), 
  198.             'ImageSize': (0,0)
  199.             }]
  200.         }
  201.  
  202. def Do(Environment):
  203.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  204.  
  205.